package my.game.Descension;

import javax.swing.JFrame;

public class Main extends JFrame{

	// Creates a 20x20 screen
	final int TILE_SIZE = 32;
	final int SCREEN_SIZE_X = TILE_SIZE * 20 + 7; // Offsets for proper size.
	final int SCREEN_SIZE_Y = TILE_SIZE * 20 + 28;
		
	public Main() {
		add(new Controller());
		setLayout(null); // Absolute positioning of components
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setSize(SCREEN_SIZE_X, SCREEN_SIZE_Y);
		setTitle("test");
		setResizable(false);
		setVisible(true);
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		new Main();
	}

}
